<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JSONP client</title>
</head>
<body>
    
    <script src="../node_modules/jquery/dist/jquery.js"></script>
    <script>
        $.ajax({
            url: 'http://127.0.0.1:8000/jsonp',
            method: 'get',
            dataType: 'jsonp', // 执行 jsonp 请求
            success: res => {
                console.log(res)
            }
        })
    </script>
</body>
</html>